package com.github.livebase.util.html;

public class SelfCloseElement extends Element {
    public SelfCloseElement(String name) {
            super(name);
        }

    @Override
    public String html() {
        return "";
    }

    @Override
    protected String htmlWithTag() {
        return String.format("<%s/>", getName());
    }
}